#include<stdio.h>

double add(double op1,double op2){
	return op1+op2;
}

double sub(double op1,double op2){
	return op1-op2;
}

double muti(double op1,double op2){
	return op1*op2;
}

double div(double op1,double op2){
	return op1/op2;
}

int main1()
{
	double op1,op2;
	char ch;
	
	while(1){
		scanf("%lf %c %lf",&op1,&ch,&op2);
		
		switch(ch){
			case '+':printf("%lf+%lf=%.1lf",op1,op2,add(op1,op2));
					break;
			case '-':sub(op1,op2);
					break;
			case '*':muti(op1,op2);
					break;
			case '/':div(op1,op2);
					break;
		}
 }
 
	return 0;
 } 
 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
